﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SGuildItemDiceResult extends Object
    {
        public var itemCode:int;
        public var playerId:int;
        public var playerName:String;
        public var dice:int;

        public function SGuildItemDiceResult()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.itemCode);
            param1.writeInt(this.playerId);
            param1.writeString(this.playerName);
            param1.writeInt(this.dice);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.itemCode = param1.readInt();
            this.playerId = param1.readInt();
            this.playerName = param1.readString();
            this.dice = param1.readInt();
            return;
        }// end function

    }
}
